using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq.Mapping;
using MimeCloud.AssetManagement.Business.Interface;

namespace MimeCloud.AssetManagement.DataProvider.Astoria.Entities.Data
{
    [Table(Name="T_Language")]
    public class Language : ILanguage
    {
        public Language()
        {           
            ID = Int16.MinValue;
        }

        [Column(Name="Description_NVC")]
        public string Description { get; set; }

        [Column(Name="Enabled_BIT")]
        public bool Enabled { get; set; }
        
        [Column(Name="Language_IDPK",IsPrimaryKey=true,IsDbGenerated=true,AutoSync=AutoSync.OnInsert,DbType="smallint")]
        public short ID { get; set; }

        [Column(Name="LanguageCode_NVC")]
        public string LanguageCode { get; set; }

        [Column(Name="Name_NVC")]
        public string Name { get; set; }
    }
}
